package com.zdkj.admin.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
/**
 * 权限变更申请修改dto
 * @author Magic
 *
 */
@Data
@ApiModel(value = "权限变更申请修改dto")
public class RoleChangeUpdateDTO {

    @ApiModelProperty(value="权限变更申请id",required = true)
    @NotNull(message = "权限变更申请id不能为空")
    private Integer id;

    /**
     * 现有角色
     */
    @ApiModelProperty(value="现有岗位")
    private String newRole;
    /**
     * 备注
     */
    @ApiModelProperty(value="备注")
    @Length(max = 255,message = "备注长度不能超过255")
    private String remark;
}
